package com.word.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("sentences")
public class sentences {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String sentence;

    private String translation;

    private String tag;

    private Integer wordId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSentence() {
        return sentence;
    }

    public void setSentence(String sentence) {
        this.sentence = sentence;
    }

    public String getTranslation() {
        return translation;
    }

    public void setTranslation(String translation) {
        this.translation = translation;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    @Override
    public String toString() {
        return "sentences{" +
                "id=" + id +
                ", sentence='" + sentence + '\'' +
                ", translation='" + translation + '\'' +
                ", tag='" + tag + '\'' +
                ", wordId=" + wordId +
                '}';
    }
}
